package dame1;

public class Test {
    public static void main(String[] args) {
        Binarytree binarytree = new Binarytree();
        Binarytree.TreeNode root = binarytree.createTree();
        binarytree.preOrder(root);
        System.out.println();
        binarytree.inOrder(root);
        System.out.println();
        binarytree.postOrder(root);
        System.out.println();
        binarytree.size(root);
        System.out.println(Binarytree.nodesiez);
       // System.out.println();
        System.out.println(binarytree.size2(root));
        binarytree.getLeafNodeCount(root);
        System.out.println(Binarytree.size);
        System.out.println(binarytree.getLeafNodeCount2(root));
    }
}
